<div id="post-<%=post.id %>" class="panel panel-default">
  <div class="panel-heading"><%= (post.user.display_name) + " -- " + post.id.to_s %></div>
  <div class="panel-body">
    <span id="post-thumbsup-<%= post.id %>" class="label label-success"><%= post.likes.count %> 👍</span>
    <%= post.content %>
    <div class="text-right">s

    <span id="post-like-<%= post.id %>">
      <%= render :partial => "like", :locals => {:post => post} %>
    </span>

    <% if current_user && post.user == current_user %>
      <span class="text-right">
        <%= link_to "Delete", post_path(post), :class => "delete-post btn btn-danger" %>
      </span>
    </div>
    <% end %>
  </div>
</div>
